{%- if sketch.post.type != nil -%}
<span class="article-type article-type-{{sketch.post.type}}">
  {%- case sketch.post.type -%}
  {%- when 'original' -%}
  原创
  {%- when 'translated' -%}
  翻译
  {%- when 'reprinted' -%}
  转载
  {%- endcase -%}
</span>
{%- endif -%}